import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useTpmStore = defineStore(
  'tpm',
  () => {
    const tpmInfo = ref({})
    const setTpmInfo = (newVal) => {
      tpmInfo.value = newVal
    }
    return {
      tpmInfo,
      setTpmInfo,
    }
  },
  {
    persist: true,
  },
)
